run composer with specific php version

39

#/usr/bin/php7.1 /usr/local/bin/composer update
#or edit your composer.json file and specify the version you want
"config": {
    "platform": {
        "php": "7.1.3"
    }
}

Comments

Submit
0 Comments